import React, { Component } from 'react';
import MyTable from '../table/table';
import Catalog from '../catalog/catalog';
import Supplier from '../supplier/supplier';
import Product from '../product/product';

function Form() {
    return <span>form</span>
}

const linkList = {
    '物品管理':[
        {
            'title':'table',
            'path':'/table',
            'component':MyTable
        },{
            'title':'商品列表',
            'path':'/product',
            'component': Product
        },{
            'title':'物品分类',
            'path':'/catalog',
            'component':Catalog
        },{
            'title':'供应商',
            'path':'/supplier',
            'component':Supplier
        }
    ],
    'menu2':[
        {
            'title':'form',
            'path':'/form',
            'component':Form
        }
    ]
}

export default linkList